package com.woniuxy.dao;

import com.woniuxy.entity.Perm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermDao {
    int addPerm(Perm perm);

    int delet(int id);

    int update(Perm perm);

    List<Perm> findAll();

    List<Integer> findPerm(int roleid);

    List<Perm> findPerms(@Param(value = "list") List<Integer> list);

    int deletO(int id);

    List<Perm> findPerms1(List<Integer> list);
}
